﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GovernmentOfficeProject.LevelDataAccessModel;
using GovernmentOfficeProject.LevelDataAccess;
using GovernmentOfficeProject.LevelBusinessLogic;
using GovernmentOfficeProject.SysTools;

namespace GovernmentOfficeProject.LevelViewUI
{
    public partial class CalendarEdit : System.Web.UI.Page
    {
        public string str = "";
        public decimal calendarId;
        public Entity_SME_Schedule calendarEntity = new Entity_SME_Schedule();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Params["id"] != null && Request.Params["id"] != "0")
            {
                BLL_CALENDAR bllCalendar = new BLL_CALENDAR();
                calendarId = decimal.Parse(Request.Params["id"]);
                calendarEntity = bllCalendar.getScheduleById(calendarId);
                //Request.Form["Location"].
                
            }
        }
    }
}